package com.ship.boats.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.boats.domain.SpBoatsPortMessage;
import com.ship.boats.domain.dto.QueryPortMessageRq;
import com.ship.boats.domain.vo.QueryPortMessageInfo;
import com.ship.boats.domain.vo.QueryPortNameInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BoatsPortMessageMapper extends BaseMapper<SpBoatsPortMessage> {
    List<QueryPortMessageInfo> queryPortMessageList(@Param("query") QueryPortMessageRq query);

    String queryTimeZoneByPortName(@Param("portName") String portName);

    List<String> queryPortNameAll(@Param("portName") String portName);

    List<QueryPortNameInfo> queryReceivingStationList(@Param("portName") String portName);

    String queryReceivingStationName(@Param("portName") String portName);

    List<QueryPortNameInfo> queryPortNameList(@Param("portName") String portName);
}
